package com.nengchuan.kbms.dfs.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户操作历史
 * </p>
 *
 * @author abe
 * @since 2020-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_operate_history")
@ApiModel(value="UserOperateHistory对象", description="用户操作历史")
public class UserOperateHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "业务id")
    private Long bizId;

    @ApiModelProperty(value = "操作类型编码")
    private String optTypeCode;

    @ApiModelProperty(value = "操作结果（0：操作失败；1：操作成功）")
    private String optResult;

    @ApiModelProperty(value = "操作地址")
    private String ip;

    @ApiModelProperty(value = "操作人id")
    @TableField(fill = FieldFill.INSERT)
    private Long createId;

    @ApiModelProperty(value = "操作人")
    @TableField(fill = FieldFill.INSERT)
    private String createName;

    @ApiModelProperty(value = "操作时间戳")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;


}
